using SqlSugar;
using System.ComponentModel.DataAnnotations;
namespace Jst.Domain
{
    [SugarTable("TestMuchTableResult", TableDescription = "表描述")]
    public partial class TestMuchTableResult
    {
        /// <summary>
        /// moduleName
        /// </summary>
        [Display(Name = "moduleName")]
        [SugarColumn(ColumnDescription = "moduleName", IsNullable = false, IsPrimaryKey = false, IsIdentity = false)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public string moduleName { get; set; }

        /// <summary>
        /// permName
        /// </summary>
        [Display(Name = "permName")]
        [SugarColumn(ColumnDescription = "permName", IsNullable = false, IsPrimaryKey = false, IsIdentity = false)]
        [StringLength(255, ErrorMessage = "【{0}】不能超过{1}字符长度")]
        public string permName { get; set; }

        /// <summary>
        /// rid
        /// </summary>
        [Display(Name = "rid")]
        [SugarColumn(ColumnDescription = "rid", IsNullable = false, IsPrimaryKey = false, IsIdentity = false)]
        [Required(ErrorMessage = "请输入{0}")]
        public long rid { get; set; }

        /// <summary>
        /// mid
        /// </summary>
        [Display(Name = "mid")]
        [SugarColumn(ColumnDescription = "mid", IsNullable = false, IsPrimaryKey = false, IsIdentity = false)]
        [Required(ErrorMessage = "请输入{0}")]
        public long mid { get; set; }

        /// <summary>
        /// pid
        /// </summary>
        [Display(Name = "pid")]
        [SugarColumn(ColumnDescription = "pid", IsNullable = false, IsPrimaryKey = false, IsIdentity = false)]
        [Required(ErrorMessage = "请输入{0}")]
        public long pid { get; set; }

    }
}
